<?php 

define('IN_NETGORESP', true);

 /*
   ----------------------------------------------------------------------------------------------------
   INCLUSIONS
   ----------------------------------------------------------------------------------------------------
	+ Common.php
		- Includes all the other files needed.
   ----------------------------------------------------------------------------------------------------
   */
   

 include("common.php");

 /*
   ----------------------------------------------------------------------------------------------------
   USER PROFILE
   ----------------------------------------------------------------------------------------------------
	+ Check logged in
		- Logged in -> Profile
		- Other -> Login Form
   ----------------------------------------------------------------------------------------------------
   */
	if($userinfo == false)
	{ 
		header("Location: ".$link['login']);
	}
   
	// @template: Header
	include("template/".$config['template_name']."/header.php");
	
	// @template: Profile Page
	include("template/".$config['template_name']."/profile.php");
	
	// @template: Footer
	include("template/".$config['template_name']."/footer.php");

	
?>